<?php
/**
 * Created by PhpStorm.
 * User: xsp
 * Date: 2018/5/12
 * Time: 20:56
 */

namespace backend\controllers;


use yii\web\Controller;

class ArticleController extends Controller
{
    public $layout = 'index';
    public function actionBase()
    {
        return $this->render('base');
    }
    public function actionAdd()
    {
        $this->layout= false;
        return $this->render('add');
    }

    public function actionList()
    {
        return $this->render('list');
    }

}